package com.lyf.boot.base.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lyf.boot.core.model.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author Luyufan
 * @date 2023/7/7 16:47
 */
@TableName(value = "t_sys_dict")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysDict extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = -1532104351365648515L;
    /**
     * 字典id
     */
    @TableId(value = "dict_id", type = IdType.ASSIGN_ID)
    private Long dictId;

    /**
     * 字典类型
     */
    private String dictType;

    /**
     * 字典key
     */
    private String dictKey;

    /**
     * 字典值
     */
    private String dictValue;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 扩展字符串
     */
    private String extStr;

    /**
     * 备注
     */
    private String remark;
}
